package com.train.pattern.strategy.v1.pay;

/**
 * @author hugx
 * @create 2021-01-15 10:58
 */
public class User {
    private int id; //用户ID
    private String userName ;  //用户名
    private int memberType;  //会员类型
    private Account account;  //帐户

    public User(int id, String userName, int memberType) {
        this.id = id;
        this.userName = userName;
        this.memberType = memberType;
    }

    public int getId() {
        return id;
    }

    public String getUserName() {
        return userName;
    }

    public int getMemberType() {
        return memberType;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

}
